package com.zilu.digitaltwin.common.enums;

public enum ResponseCodeEnum {
    SUCCESS(0, "成功"),
    FAILED(-1, "失败"),
    SERVER_ERROR(500, "系统异常"),
    ;
    private final int code;
    private final String msg;

    ResponseCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
